WebsiteGenerator   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A generate 0 3 1
1
import Generator from './Base';
2
3
/**
4
 * Generates a https website for random domain.
5
 * @returns {string} website
6
 * @requires domain
7
 * @generator
8
 */
9
export default class WebsiteGenerator extends Generator {
10
    generate() {
11
        return `https://${this.fatum.domain()}`;
12
    }
13
}
14